Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: LotusScript agents without Notes Designer
~Laura Bubresachekjip 14.Feb.03 04:49 PM a Web browser
Notes Client 6.0 All Platforms


Hi,

there's at least one possibility to merge design elements into a database without using desinger:

Create a new database, copy your agent inside and then create a view there, that shows all documents.
Afterwards, configure the view, so it will also display design elements - you will have to use an agent for that.
Now, you have a database, showing your agent in a view, so your colleagues can simply copy it from this view into another view in their databases.

If you don't know how to make a view display design elements:

Dim db As NotesDatabase
Dim dView As NotesView
Dim dDoc As NotesDocument
Set db = session.currentDatabase
Set dView = db.getview("NAME_OF_YOUR_VIEW")
Set dDoc = db.getdocumentbyunid(dView.universalid)
dDoc.~$FormulaClass = "VALUE"
dDoc.save(true, false)

The important things are:
1. get the view as a document by its UNID
2. set the correct value for $FormulaClass
3. don't edit the view afterwards, or $FormulaClass will be reset

Possible values are (you can combine them by adding values):
DOCUMENTS: "1"
FORMS, SUBFORMS: "4"
VIEWS, FOLDERS and NAVIGATORS: "8"
SHAREDFIELDS: "1024"
AGENTS, SCRIPTLIBS = "512"
DATABASES = "16"
ALL = "32767"
ALLDESIGN = "32766"

Hope that helps,
OliG




LotusScript agents without Notes De... (~Hal Xanfooplop... 14.Feb.03)
. . RE: LotusScript agents without Note... (~Laura Bubresac... 14.Feb.03)
. . . . RE: LotusScript agents without Note... (~Alexis Umreman... 14.Feb.03)
. . . . . . RE: LotusScript agents without Note... (~Yoshi Eljumich... 18.Feb.03)
. . . . . . . . yes eom> (~Bill Frokimari... 18.Feb.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS